package com.easylinkin.linkappapi.intelligentrule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.device.entity.Device;
import com.easylinkin.linkappapi.intelligentrule.entity.IntelligentRuleExpression;
import java.util.List;

//import com.easylinkin.linkappapi.intelligentrule.entity.IntelligentRule;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Tongjie
 * @since 2020-05-16
 */
public interface IntelligentRuleExpressionService extends IService<IntelligentRuleExpression> {

    /**
     * 通过id集合 物理删除智能规则
     *
     * @param ids id集合
     */
    void deleteForceByIds(List<String> ids);

    boolean checkMeetExpressions(Device device, List<IntelligentRuleExpression> intelligentRuleExpressionList);

    boolean checkPropertyForMonitor(Device device, List<IntelligentRuleExpression> intelligentRuleExpressionList);
}
